package com.ruoyi.app.service;

import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.app.domain.RestockProduct;

/**
 * 进货单商品Service接口
 * 
 * @author ruoyi
 * @date 2024-12-12
 */
public interface IRestockProductService extends IService<RestockProduct>
{
    /**
     * 查询进货单商品
     * 
     * @param id 进货单商品主键
     * @return 进货单商品
     */
    public RestockProduct selectRestockProductById(String id);

    /**
     * 查询进货单商品列表
     * 
     * @param restockProduct 进货单商品
     * @return 进货单商品集合
     */
    public List<RestockProduct> selectRestockProductList(RestockProduct restockProduct);

    /**
     * 根据进货单查询进货信息
     * @param restockIds
     * @return
     */
    List<RestockProduct> listByRestockIds(Collection<String> restockIds);
}
